<?php /* Smarty version 2.6.18, created on 2010-05-17 22:42:52
         compiled from products/products_list.html */ ?>
<table border="1">
	<th>Name</th>
	<th>Description</th>
	<th>Brand</th>
	<th>Category</th>
	<th>Price</th>
	<th>IssueDate</th>
	<th>Status</th>
	<th>Action</th>
	<th>Places</th>
	
	<?php $_from = $this->_tpl_vars['productList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['phantu']):
?>
		<tr> 
			<td> <?php echo $this->_tpl_vars['phantu']['pro_name']; ?>
 </td>
			<td> <?php echo $this->_tpl_vars['phantu']['pro_description']; ?>
 </td>
			<td> <?php echo $this->_tpl_vars['phantu']['br_name']; ?>
 </td>			
			<td> <?php echo $this->_tpl_vars['phantu']['cat_name']; ?>
 </td>		
			<td> <?php echo $this->_tpl_vars['phantu']['pro_price']; ?>
 </td>			
			
			<td> <?php echo $this->_tpl_vars['phantu']['pro_issuedate']; ?>
 </td>		
			<td> <?php echo $this->_tpl_vars['phantu']['pro_status']; ?>
 </td>	
			
			
			<td>				
				<?php $_from = $this->_tpl_vars['phantu']['pro_placeList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['phantu_con']):
?>
					<?php echo $this->_tpl_vars['phantu_con']['pla_name']; ?>
:<?php echo $this->_tpl_vars['phantu_con']['pro_pla_quantity']; ?>
		
				<?php endforeach; endif; unset($_from); ?>
			</td>	
			
			<td> 
				<a href="<?php echo @APPLICATION_URL; ?>

					products/editForm/<?php echo $this->_tpl_vars['phantu']['pro_id']; ?>
">					
					edit 
				</a>
				| 
				<?php if ($this->_tpl_vars['phantu']['pro_status'] == 1): ?>
					<a href="<?php echo @APPLICATION_URL; ?>
products/inactive/<?php echo $this->_tpl_vars['phantu']['pro_id']; ?>
">					
						Inactive					
					</a> 
				<?php else: ?>
					<a href="<?php echo @APPLICATION_URL; ?>
products/active/<?php echo $this->_tpl_vars['phantu']['pro_id']; ?>
">					
						Active					
					</a> 
				<?php endif; ?>
			</td>	
		</tr>
	<?php endforeach; endif; unset($_from); ?>
</table>